for i in *.wav
do
sox $i -r 8000 -c 1 $(basename $i .wav).gsm resample -ql
done
save the file as wav2gsm.sh, or add a shebang and save as wav2gsm and then call it like this:
./wav2gsm
All the wav files will be converted over in an instant...
christo